/* 
 * File:   text.h
 * Author: davinci
 *
 * Created on 16 de Dezembro de 2009, 17:44
 */

#ifndef _TEXT_H
#define	_TEXT_H

#ifdef	__cplusplus
extern "C" {
#endif

#define TEXT_SUCCESS  0
#define TEXT_FAILURE  -1
#define TEXT_DEL_FAILURE  -2

    extern int text_addChar(unsigned char *msg, unsigned char ch);

    extern int text_delChar(unsigned char *msg);

    extern int text_replaceChar(unsigned char *msg, unsigned char ch);


#ifdef	__cplusplus
}
#endif

#endif	/* _TEXT_H */
